Show AllShow All

Top Property

ShowTop property as it applies to the Application object.

ShowTop property as it applies to the Window object.

ShowTop property as it applies to the AxisTitle, ChartArea, ChartObject, ChartObjects, ChartTitle, DataLabel, DisplayUnitLabel, Legend, OLEObject, OLEObjects, PlotArea, and Window objects.

ShowTop property as it applies to the Axis, LegendEntry, and LegendKey objects.

ShowTop property as it applies to the Shape and ShapeRange objects.

ShowTop property as it applies to the Range object.

Example

This example arranges windows one and two horizontally; in other words, each window occupies half the available vertical space and all the available horizontal space in the application window's client area. For this example to work, there must be only two worksheet windows open.

Windows.Arrange xlArrangeTiled
ah = Windows(1).Height                      ' available height
aw = Windows(1).Width + Windows(2).Width    ' available width
With Windows(1)
    .Width = aw
    .Height = ah / 2
    .Left = 0
End With
With Windows(2)
    .Width = aw
    .Height = ah / 2
    .Top = ah / 2
    .Left = 0
End With